

import java.io.Serializable;


public class Document extends State implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -5129037144746332872L;

	String name;
	
	private GlobalObject rootobj;
	
	
	public Document(String name) {
		this.name = name;
		
		System.out.println("Created document with name: "+name);
		
		this.rootobj = new ObjectGroup();
	}


	void setRootobj(ObjectGroup rootobj) {
		this.rootobj = rootobj;
	}


	ObjectGroup getRootobj() {
		return (ObjectGroup)rootobj;
	}
}
